More accurate fix for GtkTreeMenu regression.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 18 Jan 2011 15:41:35 +0000 (00:41 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 18 Jan 2011 15:43:08 +0000 (00:43 +0900)
commite6a51e4afbcd1a8424b71c8b7cbf5533d695f366
tree116d13f475c10ba4f217909f4df0b1a680485906
parent34b573b07c13c9f7a4993ee9417a24313d2b6eba
More accurate fix for GtkTreeMenu regression.

The previous fix rebuilds the root menu unconditionally,
this one only rebuilds the root menu if the root path
has indeed changed.

https://bugzilla.gnome.org/show_bug.cgi?id=639792
gtk/gtktreemenu.c